﻿using System.Collections.Generic;
using UtfprLibrary.ComponentModel.Security;

namespace UtfprLibrary.Windows.Forms.ComponentModel.Security {
    /// <summary>
    /// TODO
    /// </summary>
    public class UtfprUser : IUtfprUser {
        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="name"></param>
        /// <param name="permissions"></param>
        public UtfprUser(string name, List<IUtfprRestriction> permissions) {
            this.Name = name;
            this.Restrictions = permissions;
        }

        /// <summary>
        /// TODO
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// TODO
        /// </summary>
        public List<IUtfprRestriction> Restrictions { get; private set; }
    }
}
